package umage.projects;

import java.util.ArrayList;
import java.util.List;

import org.jhotdraw.draw.Figure;

import umage.action.DefaultAction;
import umage.action.FireRandomTransitionAction;
import umage.action.ResetPetriNetAction;
import umage.figures.FlowArrow;
import umage.figures.PlaceFigure;
import umage.figures.TransitionFigure;

@ProjectInfo(name = "Petri Net Project", icon = "PetriNetProject.png")
public class PetriNetProject extends UMageProject {

	@Override
	public List<Class<? extends DefaultAction>> getNeededActions() {
		ArrayList<Class<? extends DefaultAction>> actions = new ArrayList<Class<? extends DefaultAction>>();
		actions.add(FireRandomTransitionAction.class);
		actions.add(ResetPetriNetAction.class);
		return actions;
	}
	
	@Override
	public List<Class<? extends Figure>> getNeededFigures() {
		ArrayList<Class<? extends Figure>> figures = new ArrayList<Class<? extends Figure>>();
		figures.add(TransitionFigure.class);
		figures.add(PlaceFigure.class);
		figures.add(FlowArrow.class);
		return figures;
	}
	
}
